package org.example.model;

import java.util.Date;

public class Attendance {
    private Integer attendanceId;
    private Integer teacherid;
    private Date attendanceDate;
    private Date clockInTime;
    private Date clockOutTime;
    private String attendanceStatus;
    private String remarks;

    // 以下是各个属性的Getter和Setter方法


    @Override
    public String toString() {
        return "Attendance{" +
                "attendanceId=" + attendanceId +
                ", teacherid=" + teacherid +
                ", attendanceDate=" + attendanceDate +
                ", clockInTime=" + clockInTime +
                ", clockOutTime=" + clockOutTime +
                ", attendanceStatus='" + attendanceStatus + '\'' +
                ", remarks='" + remarks + '\'' +
                '}';
    }



    public Integer getAttendanceId() {
        return attendanceId;
    }

    public void setAttendanceId(Integer attendanceId) {
        this.attendanceId = attendanceId;
    }

    public Integer getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(Integer teacherid) {
        this.teacherid = teacherid;
    }

    public Date getAttendanceDate() {
        return attendanceDate;
    }

    public void setAttendanceDate(Date attendanceDate) {
        this.attendanceDate = attendanceDate;
    }

    public Date getClockInTime() {
        return clockInTime;
    }

    public void setClockInTime(Date clockInTime) {
        this.clockInTime = clockInTime;
    }

    public Date getClockOutTime() {
        return clockOutTime;
    }

    public void setClockOutTime(Date clockOutTime) {
        this.clockOutTime = clockOutTime;
    }

    public String getAttendanceStatus() {
        return attendanceStatus;
    }

    public void setAttendanceStatus(String attendanceStatus) {
        this.attendanceStatus = attendanceStatus;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}